import tkinter as tk
from tkinter import messagebox


def say_hello():
    label.config(text="Hello, Tkinter!")

root = tk.Tk()
root.title("Tkinter Hello World")

label = tk.Label(root, text="Welcome Hello World")

label.pack(pady=10)

button = tk.Button(root, text="Say Hello", command=say_hello)

button.pack(pady=10)

root.mainloop()